import {
    Cuisine,
    Difficulty,
    Taste,
    IObjectKeys,
    Proficiency
} from '@/api/types'

console.log(import.meta.env.VITE_STATIC_PATH);

const STATIC_PATH = import.meta.env.VITE_STATIC_PATH;


const potatoFloss: Cuisine = {
    name: "家常土豆丝",
    describe: `作为老百姓餐桌上最常见的家常菜，想学做菜厨房小白可以从酸辣土豆丝开始！`,
    relatedInfo: {
        difficulty: Difficulty.easy,
        cookingTime: `3分钟`,
        taste: Taste.spicy
    },
    picture: `${STATIC_PATH}/static/images/tds.jpeg`,
    ingredients: [{
        name: `土豆`,
        dosage: `200克`,
        important: true
    }, {
        name: `辣椒`,
        dosage: `少许`
    }, {
        name: `葱`,
        dosage: `少许`
    }, {
        name: `盐`,
        dosage: ``
    }, {
        name: `白糖`,
        dosage: ``
    }, {
        name: `鸡精`,
        dosage: ``
    }, {
        name: `白醋`,
        dosage: ``
    }],
    makes: [{
        pictures: [`${STATIC_PATH}/static/images/do-tds/do_1.png`],
        describe: ` 去皮洗净的土豆切丝。`
    }, {
        pictures: [`${STATIC_PATH}/static/images/do-tds/do_2.png`],
        describe: `  盛入碗中加清水浸泡。`
    }, {
        pictures: [`${STATIC_PATH}/static/images/do-tds/do_3.png`],
        describe: `  红辣椒切丝。`
    }, {
        pictures: [`${STATIC_PATH}/static/images/do-tds/do_4.png`],
        describe: `  热锅注油，倒入土豆丝、葱白翻炒片刻。`
    }, {
        pictures: [`${STATIC_PATH}/static/images/do-tds/do_5.png`],
        describe: `  加入适量盐、白糖、鸡粉调味。`
    }, {
        pictures: [`${STATIC_PATH}/static/images/do-tds/do_6.png`],
        describe: `  炒约1分钟后倒入适量白醋拌炒匀。`
    }, {
        pictures: [`${STATIC_PATH}/static/images/do-tds/do_7.png`],
        describe: `  倒入辣椒丝、葱叶拌炒匀。`
    }, {
        pictures: [`${STATIC_PATH}/static/images/do-tds/do_8.png`],
        describe: `  淋入少许香油。`
    }, {
        pictures: [`${STATIC_PATH}/static/images/do-tds/do_9.png`],
        describe: `  出锅装盘即成。`
    }],
    proficiency: Proficiency.hasNotStarted
}

const cuisines: IObjectKeys = {
    potatoFloss,
}

export { cuisines }